package com.cj.mobile.iabp.mvp.model.entity;

/**
 * 包名： PACKAGE_NAME
 * 对象名： LoginResponse
 * 描述：登录    响应结构
 * 作者： wly
 * 邮箱：wangliyang206@163.com
 * 创建日期： 2017/3/24 11:28
 */

public class LoginResponse {
    public LoginResponse() {
    }

    public LoginResponse(String lastLoginTime, AccountInfo account, int timeout, String token) {
        this.lastLoginTime = lastLoginTime;
        this.account = account;
        this.timeout = timeout;
        this.token = token;
    }

    // 上次登录时间
    private String lastLoginTime;
    // 账号
    private AccountInfo account;
    // 超时
    private int timeout;
    // Token
    private String token;

    public String getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(String lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public AccountInfo getAccount() {
        return account;
    }

    public void setAccount(AccountInfo account) {
        this.account = account;
    }

    public int getTimeout() {
        return timeout;
    }

    public void setTimeout(int timeout) {
        this.timeout = timeout;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
